﻿using PMSWenLvTing.Model.Common;
using PMSWenLvTing.Model.JiuDian;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PMSWenLvTing.Model
{
    public static class PublicStaticObject
    {
        #region 阿里OSS参数配置中心

        public const string accessId = "5jERTo9JhtrFijyy";
        public const string accessKey = "gs1C4fd2ez87neI4P3hjYz381ePiQy";
        public const string endpoint = "http://oss-cn-shenzhen.aliyuncs.com";
        public const string imgHeader = "http://pms-wenlvting.oss-cn-shenzhen.aliyuncs.com/";
        public const string bucketName = "pms-wenlvting";
        #endregion

        /// <summary>
        /// 不可修改
        /// 用来计算发布的报表的主键时间戳开始时间
        /// 不可修改
        /// </summary>
        public static DateTime dt_bbid = new DateTime(2021, 06, 01);

        /// <summary>
        /// 存放酒店数据
        /// </summary>
        public static List<jiudian> lisJD = new List<jiudian>();

        /// <summary>
        /// 存放区域数据
        /// </summary>
        public static List<t_area> lisArea = new List<t_area>();

        /// <summary>
        /// 报表类型
        /// </summary>
        public static List<DTO_BBType> lisBBType = new List<DTO_BBType>() {
            new DTO_BBType(){id=1,mingcheng="月报" },
            new DTO_BBType(){ id=2,mingcheng="年报"}
        };
    }
}